 |
API Documentation
|
|
|
nkMaths::Matrix * getDataAsMatrix() const
void setAsProjectionParameters(Camera *forcedCamera=nullptr)
A memory slot in a memory resource.
Definition: ShaderMemorySlot.h:15
void setAsViewMatrix(Camera *forcedCamera=nullptr)
Offers all controls to model a camera.
Definition: Camera.h:12
virtual void importClassFromTree(nkExport::Node *rootNode) override
void setAsCustom(ShaderPassCustomSlot *slot)
A texture used for rendering, hosted on GPU.
Definition: Texture.h:35
void setAsProjectionMatrix(Camera *forcedCamera=nullptr)
DATA_TYPE getType() const
Represents a 4x4 float matrix.
Definition: Matrix.h:12
void setAsProjectionMatrixInv(Camera *forcedCamera=nullptr)
DATA_TYPE
Definition: ShaderPassMemorySlot.h:22
virtual const char * getTypeAsString() const override
void setAsCamCornersView(Camera *forcedCamera=nullptr)
A memory slot that fits into a ConstantBuffer. The slot fills entries within the buffer.
Definition: ShaderPassMemorySlot.h:15
nkMaths::Vector * getDataAsVector() const
void setFromVector(const nkMaths::Vector &data)
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
void setAsCameraDirectionWorld(Camera *forcedCamera=nullptr)
void setAsViewMatrixInv(Camera *forcedCamera=nullptr)
virtual unsigned int getDataSize() const
void setAsTextureSize(Texture *tex)
virtual ~ShaderPassMemorySlot()
A custom slot, implementable by external code.
Definition: ShaderPassCustomSlot.h:12
void setAsTime(unsigned int modulo)
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
void setAsCameraPosition(Camera *forcedCamera=nullptr)
A 4-component vector class, with floats.
Definition: Vector.h:12
void setAsCamCornersWorld(Camera *forcedCamera=nullptr)
virtual void exportClassToTree(nkExport::Node *rootNode) override
void setFromMatrix(const nkMaths::Matrix &data)